
import {
    COverlay
} from '../ol';

export default class Overlay {

    static addCOverlay = (sub: any) => {
        let html: any = document.getElementById(sub.id)
        return new COverlay({
            id: '2836247',
            element: html,
            positioning: "center-center",
            position: sub.coordinates,

        })
    }
}
